<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<script type="text/javascript" src="${ctx}/res/js/survey/surveyList/surveyList.js"></script>
	</head>
	<body>
		<center>
			<table>
				<tr>
					<td>
						<br><div style="text-align:center;font-size: x-large;x" id="voteTableInfoName"><span>列表</span></div><br>
					</td>
				</tr>
				<tr>
					<td>
						<table class="list_grid">
							<thead>
								<tr>
									<th style="width:550px;">问卷名称</th>
									<th>状态</th>									
									<th>截止日期</th> 
									<th>发布日期</th>
									<th style="width: 1px;"></th>              	
								</tr>
							</thead>
						</table>
					</td>
				</tr>
				
				<!-- 数据区域 -->
				<tr>
					<td>
						<div class="list_scrollControlDiv">
							<table class="list_grid" style="border-spacing: 0;">
								<tbody id="tBodyList">
								</tbody>
							</table>
						</div>
					</td>
				</tr>
				
				<!-- 分页控件区域 -->
				<tr>
					<td>
						<div id="pagination" class="pagination"></div>
						<input id="type" type="hidden" value="${type}">
						<input id="username" type="hidden" value="<%=session.getAttribute("SESSION_USERNAME") %>">
					</td>
				</tr>
			</table>
		</center>
		
		<form id="viewSurvey" method="post" action="${ctx}/survey/surveyVote/viewSurvey.do">
			<input type="hidden" name="surveyId"/>
			<input type="hidden" name="query_condition_field_list" value="surveyId"/>
		</form>
		
		<form id="answerSurvey" method="post" action="${ctx}/survey/surveyVote/answerSurvey.do">
			<input type="hidden" name="surveyId"/>
			<input type="hidden" name="currentPage" value="${currentPage}"/>
			<input type="hidden" name="type"/>
			<input type="hidden" name="query_condition_field_list" value="surveyId"/>
		</form>
		
		<form id="viewResult" method="post" action="${ctx}/survey/surveyStatistics/surveyResultStatistics/survey.do">
			<input type="hidden" name="survetyId"/>
			<input type="hidden" name="type"/>
		</form>
	</body>
</html>